.TH "BOOL" "3teramile" "Release 1.0.0" "Michael Bernstein" "BOOL"
.SH "NAME"
.LP 
\fBBOOL\fR \- datatype for logical value
.SH "SYNTAX"
.LP 
#include <teramile/boolean.h>
.br 
typedef int \fBBOOL\fR
.br 
#define \fITRUE\fP 1
.br 
#define \fIFALSE\fP 0
.SH "DESCRIPTION"
.LP 
\fBBOOL\fR is a datatype for store a logical value.
This datatype can have a value of 0, which is FALSE
in C or <> 0 which is TRUE in C. There are also two
defines for TRUE and FALSE present.
.SH "EXAMPLE"
.LP 
#include <stdio.h>
.br 
#include <boolean.h>
.LP 
int main(int argc, char *argv[])
.br 
{
.br 
        BOOL IsGreater;
.LP 
        if (5 > 6)
.br 
           IsGreater = TRUE;
.br 
        else
.br 
           IsGreater = FALSE;
.br 
        if (IsGreater)
.br 
           puts("5 > 6");
.br 
        else
.br 
           puts("5 <= 6");
.br 
        return(0);
.br 
}
